package receipe.review;

import java.sql.Date;
import java.util.Collection;

import namespaces.NamespaceConstants;
import receipe.review.rating.ReviewRating;
import thewebsemantic.Namespace;
import thewebsemantic.RdfProperty;
import thewebsemantic.RdfType;

@Namespace(NamespaceConstants.SCHEMA)
@RdfType("Review")
public class Review {

	@RdfProperty(NamespaceConstants.SCHEMA + "about")
	private String about;
	
	@RdfProperty(NamespaceConstants.SCHEMA + "author")
	private String author;
	
	@RdfProperty(NamespaceConstants.SCHEMA + "datePublished")
	private Date datePublished;
	
	@RdfProperty(NamespaceConstants.SCHEMA + "description")
	private String description;

	@RdfProperty(NamespaceConstants.SCHEMA + "reviewRating")
	private Collection<ReviewRating> reviewRatings;
	
	public String getAbout() {
		return about;
	}

	public void setAbout(String about) {
		this.about = about;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getDatePublished() {
		return datePublished;
	}

	public void setDatePublished(Date datePublished) {
		this.datePublished = datePublished;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Collection<ReviewRating> getReviewRatings() {
		return reviewRatings;
	}

	public void setReviewRatings(Collection<ReviewRating> reviewRatings) {
		this.reviewRatings = reviewRatings;
	}
	
	
}
